export function loadBMap(funcName) {
    var script = document.createElement("script");
    script.src = "https://api.map.baidu.com/api?v=3.0&ak=e0Xrr8mjXh1mOpQpbGt4xrkTA9ieqbXc&callback=" + funcName;
    document.body.appendChild(script);
}

export function loadBMapGl(funcName) {
    var script = document.createElement("script");
    script.src = "https://api.map.baidu.com/api?v=3.0&type=webgl&ak=e0Xrr8mjXh1mOpQpbGt4xrkTA9ieqbXc&callback=" + funcName;
    document.body.appendChild(script);
}
